package com.amc.dao;

import java.util.List;

import com.amc.entity.Address;
import com.amc.entity.Customer;

public interface IUserDao {

	// User
	boolean insertUser(String username, String password);

	Customer queryUser(String username, String password);

	// Address
	boolean insertAddress(Address address,String customerId);

	boolean updateAddress(Address address,String customerId);

	boolean deleteAddress(String addressId,String customerId);

	List<Address> queryAllAddress(String customerId);
	
	Customer queryCustomer(String customerId);
}
